package com.ants.boot.system.dto.sysuser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * @author 蚂蚁会花呗
 * @date 2022/3/16 13:44
 */
@ApiModel(value = "根据id列表删除")
public class DelUserDto implements Serializable {

    @Valid
    @ApiModelProperty(value = "用户id列表")
    @Size(min = 1, message = "集合不能为空")
    @NotNull(message = "集合不能为NULL")
    private List<Integer> ids;

    public List<Integer> getIds() {
        return ids;
    }

    public void setIds(List<Integer> ids) {
        this.ids = ids;
    }
}
